﻿using Stee.CAP8.MessageBus.Sagas.Core;
using Stee.CAP8.MessageBus.Sagas.Core.Sagas;
using Stee.CAP8.MessageBus.Sagas.Messages.Events.Orders;
using Stee.CAP8.MessageBus.Sagas.Messages.Events.Payment;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Stee.CAP8.MessageBus.Sagas.Order.Sagas.Data
{
    public class OrderSagaData : SagaData
    {
      

        public int requestId { get; set; }

        public Guid UserId { get; set; }

        public Guid OrderId { get; set; }

        public bool OrderCreated { get; set; }


        public bool OrderPayemnted { get; set; }
        public bool IsDone => OrderCreated && OrderPayemnted;


    }
}
